<%@ page contentType="text/html;charset=UTF-8" language="java" %>

<!DOCTYPE html>
<html lang="zh-Hans-CN">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>布克书店 - 重置密码</title>

    <link rel="icon" type="image/png" href="image/web-icon.png">
    <link rel="stylesheet" type="text/css" href="css/common/com-a.css">
    <link rel="stylesheet" type="text/css" href="css/common/com-c.css">
    <link rel="stylesheet" type="text/css" href="css/register.css">
</head>

<body>
<div class="main">
    <jsp:include page="common/header2.jsp"/>

    <!-- content 注册部分 -->
    <div class="content">
        <div class="box slogan">
            <img src="image/bg/register.jpg" alt="">
        </div>
        <div class="box register-form my-form">
            <form action="forget" method="post">
                <div class="titleWrap">
                    <p class="title">重置密码</p>
                    <div class="otherLink">
                        <a href="login.jsp">已有账号？ 请登录</a>
                    </div>
                </div>

                <div class="row">
                    <label for="email">邮箱：</label>
                    <input type="email" name="email" id="email" placeholder="邮箱" required>
                    <span class="btn btn-send" id="getCaptcha">获取验证码</span>
                    <p class="msgTip">${emailErr}</p>
                </div>

                <div class="row">
                    <label for="captcha">验证码：</label>
                    <input type="text" name="captcha" id="captcha" placeholder="验证码" required>
                    <p class="msgTip">${captchaErr}</p>
                </div>

                <div class="row">
                    <label for="password">设置密码：</label>
                    <input type="password" name="password" id="password" placeholder="设置密码" required>
                    <p class="msgTip"></p>
                </div>

                <div class="row">
                    <label for="password-confirm">确认密码：</label>
                    <input type="password" name="password-confirm" id="password-confirm" placeholder="确认密码" required>
                    <p class="msgTip"></p>
                </div>

                <div class="row">
                    <label></label>
                    <input type="submit" value="重置密码" id="registerBtn">
                </div>
            </form>
        </div>
    </div>

    <jsp:include page="common/footer2.jsp"/>
</div>
<script src="js/register.js"></script>
</body>

</html>